<head>
  <meta name="layout" content="main"/>
  <title><g:message code="player.show" default="Show Player"/></title>
</head>

<body>

  <div class="body">
    <h1><g:message code="player.show" default="Show Player"/></h1>
    <g:if test="${flash.message}">
      <div class="message">${flash.message}</div>
    </g:if>
    <div class="dialog">
      <table>
        <tbody>

          %{--<tr class="prop">
            <td valign="top" class="name">ID:</td>
            <td valign="top" class="value">${person.id}</td>
          </tr>--}%

          <tr class="prop">
            <td valign="top" class="name"><g:message code="register.id" default="Login Name"/>:</td>
            <td valign="top" class="value">${person.username?.encodeAsHTML()}</td>
          </tr>

          <tr class="prop">
            <td valign="top" class="name"><g:message code="register.fullName" default="Full Name"/>:</td>
            <td valign="top" class="value">${person.userRealName?.encodeAsHTML()}</td>
          </tr>

          <tr class="prop">
            <td valign="top" class="name"><g:message code="register.enabled" default="Enabled"/>:</td>
            <td valign="top" class="value">${person.enabled}</td>
          </tr>

          <tr class="prop">
            <td valign="top" class="name"><g:message code="player.desc" default="Remark"/>:</td>
            <td valign="top" class="value">${person.description?.encodeAsHTML()}</td>
          </tr>

         %{-- <tr class="prop">
            <td valign="top" class="name">Email:</td>
            <td valign="top" class="value">${person.email?.encodeAsHTML()}</td>
          </tr>--}%

          %{--<tr class="prop">
            <td valign="top" class="name">Show Email:</td>
            <td valign="top" class="value">${person.emailShow}</td>
          </tr>--}%

          <tr class="prop">
            <td valign="top" class="name"><g:message code="player.roles" default="Roles"/>:</td>
            <td valign="top" class="value">
              <ul>
                <g:each in="${roleNames}" var='name'>
                  <li>${name}</li>
                </g:each>
              </ul>
            </td>
          </tr>

        </tbody>
      </table>
    </div>

    

  </div>
</body>
